import type { RouteRecordRaw } from 'vue-router'

/** 静态路由 */
const staticRoute: RouteRecordRaw[] = [
  {
    path: '/login',
    name: 'login',
    meta: {
      title: '登录',
      power: '0',
    },
    component: () => import('@/views/login/index.vue'),
  },
  {
    path: '/test',
    name: 'test',
    meta: {
      title: '测试',
      power: '0',
    },
    component: () => import('@/views/test.vue'),
  },
  // {
  //   path: '/hr-dashboard',
  //   name: 'HrDashboard',
  //   meta: {
  //     title: 'HR看板',
  //     power: '0',
  //   },
  //   component: () => import('@/views/hr-dashboard/index.vue'),
  // },
  // {
  //   path: '/erp-dashboard',
  //   name: 'ErpDashboard',
  //   meta: {
  //     title: 'ERP看板',
  //     power: '0',
  //   },
  //   component: () => import('@/views/erp-dashboard/index.vue'),
  // },
  // {
  //   path: '/energy-dashboard',
  //   name: 'EnergyDashboard',
  //   meta: {
  //     title: '能源看板',
  //     power: '0',
  //   },
  //   component: () => import('@/views/energy-dashboard/index.vue'),
  // },
  {
    path: '/system-navigation',
    name: 'SystemNavigation',
    meta: {
      title: '系统导航',
      power: '0',
    },
    component: () =>
      import(
        '@/views/SystemNavigation/SystemNavigation.vue'
      ),
  },
  {
    path: '/:pathMatch(.*)*',
    name: 'NotFound',
    component: () => import('@/views/404/index.vue'),
  },
]

export default staticRoute
